package com.spring.membercardapi.web.model;

import java.math.BigDecimal;
import java.util.List;

import com.spring.cardapi.web.model.File;

public class Contract {
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	private String id;
	private BigDecimal amount;
	private String apply_way;
	private String apply_way_code;
	private long beginTime;
	private String card_out_number;
	private String consume_recommend_dept_name;	
	private String consume_recommend_deptID;
	private String consume_recommend_name;
	private String consume_recommendID;
	private Contract contract;
	private String contract_name;
	private String contract_number;
	private String contractStatus;
	private String custom_assist_name;
	private String custom_assistID;
	private BigDecimal earnestMoney;
	private long endTime;
	private List<File> file;
	private String kids_park_id;
	private String kids_park_name;
	private List<OrderPayment> order_payment;
	private BigDecimal totalDueAmount;
	private BigDecimal realAmount;
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	private String phone;
	public BigDecimal getTotalBalance() {
		return totalBalance;
	}
	public void setTotalBalance(BigDecimal totalBalance) {
		this.totalBalance = totalBalance;
	}
	private BigDecimal totalBalance;
	public BigDecimal getRealAmount() {
		if(realAmount==null){
			realAmount=new BigDecimal(0);
		}
		return realAmount;
	}
	public void setRealAmount(BigDecimal realAmount) {
		this.realAmount = realAmount;
	}
	public String getContractName() {
		return contractName;
	}
	public void setContractName(String contractName) {
		this.contractName = contractName;
	}
	private String contractName;
	public BigDecimal getAmount() {
		return amount;
	}
	public String getApply_way() {
		return apply_way;
	}
	public String getApply_way_code() {
		return apply_way_code;
	}
	public long getBeginTime() {
		return beginTime;
	}

	public String getCard_out_number() {
		return card_out_number;
	}
	public String getConsume_recommend_dept_name() {
		return consume_recommend_dept_name;
	}
	public String getConsume_recommend_deptID() {
		return consume_recommend_deptID;
	}
	public String getConsume_recommend_name() {
		return consume_recommend_name;
	}
	public String getConsume_recommendID() {
		return consume_recommendID;
	}
	public Contract getContract() {
		return contract;
	}
	public String getContract_name() {
		return contract_name;
	}
	public String getContract_number() {
		return contract_number;
	}
	public String getContractStatus() {
		return contractStatus;
	}
	
	public String getCustom_assist_name() {
		return custom_assist_name;
	}
	public String getCustom_assistID() {
		return custom_assistID;
	}
	public BigDecimal getEarnestMoney() {
		return earnestMoney;
	}
	
	public long getEndTime() {
		return endTime;
	}
	public List<File> getFile() {
		return file;
	}
	public String getKids_park_id() {
		return kids_park_id;
	}
	public String getKids_park_name() {
		return kids_park_name;
	}
	public List<OrderPayment> getOrder_payment() {
		return order_payment;
	}
	public BigDecimal getTotalDueAmount() {
		return totalDueAmount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public void setApply_way(String apply_way) {
		this.apply_way = apply_way;
	}
	public void setApply_way_code(String apply_way_code) {
		this.apply_way_code = apply_way_code;
	}
	public void setBeginTime(long beginTime) {
		this.beginTime = beginTime;
	}
	public void setCard_out_number(String card_out_number) {
		this.card_out_number = card_out_number;
	}
	public void setConsume_recommend_dept_name(String consume_recommend_dept_name) {
		this.consume_recommend_dept_name = consume_recommend_dept_name;
	}
	public void setConsume_recommend_deptID(String consume_recommend_deptID) {
		this.consume_recommend_deptID = consume_recommend_deptID;
	}
	public void setConsume_recommend_name(String consume_recommend_name) {
		this.consume_recommend_name = consume_recommend_name;
	}
	public void setConsume_recommendID(String consume_recommendID) {
		this.consume_recommendID = consume_recommendID;
	}
	public void setContract(Contract contract) {
		this.contract = contract;
	}
	public void setContract_name(String contract_name) {
		this.contract_name = contract_name;
	}
	public void setContract_number(String contract_number) {
		this.contract_number = contract_number;
	}
	public void setContractStatus(String contractStatus) {
		this.contractStatus = contractStatus;
	}
	public void setCustom_assist_name(String custom_assist_name) {
		this.custom_assist_name = custom_assist_name;
	}
	public void setCustom_assistID(String custom_assistID) {
		this.custom_assistID = custom_assistID;
	}
	public void setEarnestMoney(BigDecimal earnestMoney) {
		this.earnestMoney = earnestMoney;
	}
	public void setEndTime(long endTime) {
		this.endTime = endTime;
	}
	public void setFile(List<File> file) {
		this.file = file;
	}
	public void setKids_park_id(String kids_park_id) {
		this.kids_park_id = kids_park_id;
	}
	public void setKids_park_name(String kids_park_name) {
		this.kids_park_name = kids_park_name;
	}
	public void setOrder_payment(List<OrderPayment> order_payment) {
		this.order_payment = order_payment;
	}
	public void setTotalDueAmount(BigDecimal totalDueAmount) {
		this.totalDueAmount = totalDueAmount;
	}
}
